<HTML>
<HEAD>
<TITLE>
test
</TITLE>
</HEAD>
<BODY>
<H1>
    First PHP page
</H1>
<HR>
<?php
// Single line C++ style comment
/*
printing the message
*/
    echo "Hello sucker!";
	$con = mysql_connect("localhost","root","root");
	if (!$con)
  	{
  		die('Could not connect: ' . mysql_error());
 	}
 	mysql_select_db("realmd", $con);
 	$result = mysql_query("SELECT * FROM account");
	while($row = mysql_fetch_array($result))
  	{	
  		echo $row['id'] . " " . $row['username'];
  		echo "<br />";
  	}
 	mysql_close($con);
        #phpinfo()
  
# Unix style single line comment
?>
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" /> 
<br />
<input type="submit" name="submit" value="Submit" />
</form>

</BODY>
</HTML>
